<template>
  <div>
    <p>count : {{ count }}</p>
    <button class="btn" @click="count ++">count</button>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue" 
const count = ref(0)
</script>

<style scoped lang="scss">
.btn{
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  color:aliceblue;
  font-weight: 500;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: all 0.3s;
  &:hover{
    border-color:#646cff;
    transform: scale(1.05,1.05);
  }
  &:focus,
  &:focus-visible{
    outline: 4px auto -webkit-focus-ring-color;
  }
}
</style>
